TARGET = demo
OBJS = main.o

CROSS_COMPILE ?=
CFLAGS ?= -g
LDFLAGS ?=
CC = $(CROSS_COMPILE)gcc

$(TARGET):$(OBJS)
	$(CC) -o $@ $^ $(LDFLAGS)

clean:
	rm -rf $(TARGET) $(OBJS)
